package org.n.shop.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.n.shop.domain.entity.Type;

import java.util.List;

@Mapper
public interface TypeMapper {
    List<Type> all(@Param("page") int page, @Param("pageSize") int pageSize);

    int total();
}
